﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template2.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="EnglishAuction.Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    Đăng nhập
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <br /><br /> <br />
    <div class="login">
         <div style="color:red;text-align:center; padding-top:5px;">
            <asp:Label ID="lbThongBao" runat="server" Width="100%">
            </asp:Label>
        </div>
    <br />
        <div style="font-size: 25px; margin-left:3%; margin-right:3%;">
            Đăng nhập
        </div>
        <hr style="border-style: inset; border-width: 1px; width: 95%;" />
        <form id="login" runat="server">
            
        <br />
            <table style="width: 100%;" cellpadding="2">
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:Label ID="loginError" runat="server" ForeColor="Red" Visible="false" Font-Bold="true"/>
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" DisplayMode="List" Font-Bold="true" style="display:none;"/>              
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right; width: 30%;">Tên đăng nhập:
                    </td>
                    <td>
                        <asp:TextBox ID="txtUsername" runat="server" CssClass="inputlenght"></asp:TextBox>
                        <asp:RequiredFieldValidator ControlToValidate="txtUsername" ID="RequiredFieldValidator1" runat="server" ErrorMessage="- Tên đăng nhập không được rỗng." Text="&nbsp" SetFocusOnError="true" ></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right;">Mật khẩu:
                    </td>
                    <td>
                        <asp:TextBox ID="txtPassword" runat="server" CssClass="inputlenght" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ControlToValidate="txtPassword" ID="RequiredFieldValidator2" runat="server" ErrorMessage="- Mật khẩu không được rỗng." Text="&nbsp" SetFocusOnError="true"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        <asp:Button ID="btnLogin" runat="server" CssClass="button primary"  Text="Đăng nhập"  OnClick="btnLogin_Click" />                        
                    </td>
                    
                </tr>
                <tr>
                    <td colspan="2">&nbsp;
                    </td>
                </tr>
            </table>
        </form>
    </div>
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
</asp:Content>
